﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<Style x:Key="MyHeartButton" TargetType="Button">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="0:0:0.5" To="Pressed"/>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Disabled"/>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver"/>
								<VisualState x:Name="Pressed">
									<Storyboard>
										<ColorAnimation Duration="0" To="Red" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="path" d:IsOptimized="True"/>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<Path x:Name="path" Data="M204.25316,331.56961 C173.9993,315.95471 137.32573,299.56049 114.63291,272.3291 C85.601677,237.49162 90.329117,226.44252 90.329117,176.6329 C90.329117,137.92464 101.42049,128.02531 166.27849,128.02531 C191.76073,128.02531 213.8141,130.26038 220.96202,166 C237.49834,138.43948 245.70084,128.02531 290.83545,128.02531 C312.42062,128.02531 322.26544,124.63578 340.96204,138.65823 C360.32669,153.18172 365.75571,162.10474 347.03796,194.86076 C328.72998,226.89977 289.59814,252.3006 263.49368,278.40506 C245.30637,296.59235 227.18295,321.62372 204.25316,333.08859 C204.25316,332.58228 204.25316,332.07596 204.25316,331.56961 z" Stretch="Fill" Stroke="Black" UseLayoutRounding="False">
							<Path.Fill>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFFFCBCB" Offset="0"/>
									<GradientStop Color="#FFC811F3" Offset="1"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="MyRectButton" TargetType="Button">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<Grid>
						<Rectangle RadiusY="20" RadiusX="20" Stroke="Black">
							<Rectangle.Fill>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFFFCBCB" Offset="0"/>
									<GradientStop Color="#FFC811F3" Offset="1"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<!-- Resource dictionary entries should be defined here. -->
</ResourceDictionary>